|
PHY ATTACH CLOTH TO SHAPE
Attaches a cloth object to the specified shape ( rigid body ).
PHY ATTACH CLOTH TO SHAPE ID, object, mode
ID
Integer
identification number of the cloth
object
Integer
identification number of the rigid body object that the cloth is to be attached to
mode
Integer
a value indicating the attachment mode with 0 indicating object to cloth interaction and 1 setting object to cloth and cloth to object interaction
The attachment process works by attaching any points on the cloth object that collide with the shape to that shape.
No example code is provided for this command
|